package com.wsz.logistic.mapper;

import com.wsz.logistic.bean.Warehouse;

import java.util.List;

public interface WarehouseMapper {
    int deleteByPrimaryKey(Integer warehouseId);

    int insert(Warehouse record);

    int insertSelective(Warehouse record);

    Warehouse selectByPrimaryKey(Integer warehouseId);

    int updateByPrimaryKeySelective(Warehouse record);

    int updateByPrimaryKey(Warehouse record);

    List<Warehouse> getAll(Warehouse warehouse);

    List<Warehouse> getAll();

    Warehouse getByName(String name);
}